<!-- Header code to generate tabs in the application -->
<?php $page = basename($_SERVER['PHP_SELF']);?>

<br><br><br>
<!-- Parent tab and child tab-items -->
<fb:tabs>
	<fb:tab-item href="http://apps.facebook.com/facebook_bios/index.php" title="Write a bio" <?php if ($page == 'index.php'):?>selected="true"<?php endif;?>/>
	<fb:tab-item href="http://apps.facebook.com/facebook_bios/read.php" title="What people wrote" <?php if ($page == 'read.php'):?>selected="true"<?php endif;?>/>
	<fb:tab-item href="http://apps.facebook.com/facebook_bios/write.php" title="What I wrote" <?php if ($page == 'write.php'):?>selected="true"<?php endif;?>/>
	<fb:tab-item href="http://apps.facebook.com/facebook_bios/request.php" title="Request a bio" <?php if ($page == 'request.php'):?>selected="true"<?php endif;?>/>
	<fb:tab-item href="http://apps.facebook.com/facebook_bios/invite.php" title="Invite Friends" align="right" <?php if ($page == 'invite.php'):?>selected="true"<?php endif;?>/>
</fb:tabs>
